-- GENERATED SPELL FOR [Scorpid Tail Lasher] --


function spell0_5423(pUnit, Event) --@Lash,n/a--
pUnit:FullCastSpellOnTarget(6607,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5423', 1000, 1)
end

function Sorts_5423(pUnit, Event)
local choix_sorts_5423 = math.random(0, 0)
if choix_sorts_5423 == 0 then
pUnit:RegisterEvent('spell0_5423', 1, 1)
end
end

function mob5423_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5423', math.random(1500, 3000), 1)
end

function mob5423_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5423_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5423_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5423, 1, 'mob5423_Action')
RegisterUnitEvent(5423, 2, 'mob5423_Leave')
RegisterUnitEvent(5423, 3, 'mob5423_Kill')
RegisterUnitEvent(5423, 4, 'mob5423_Die')
